<!--
 * @Description: 
 * @Date: 2024-05-16 11:03:38
 * @LastEditTime: 2024-06-24 17:32:36
-->
<route lang="json5">
{
  style: {
    navigationBarTitleText: '视频接访',
    navigationBarTextStyle: 'white', //标题栏字体颜色
    navigationBarBackgroundColor: '#0063AF', //标题栏背景色(纯色)
  },
}
</route>

<template>
  <view class="publicBenefit w-screen h-screen">
    <!-- <view class="flex flex-col mb-40rpx">
          <text class="text-34rpx font-550 text-#000 mb-20rpx">请输入房间码</text>
          <text class="text-28rpx text-#9A9B9F">请输入视频接访的房间码</text>
        </view>
      
        <wd-password-input
          v-model="value"
          :mask="false"
          :focused="showKeyboard"
          @focus="showKeyboard = true"
        />
        <wd-number-keyboard v-model="value" v-model:visible="showKeyboard" :maxlength="6" /> -->
    <meeting v-if="show" :option="option" @getCurrentPages="getPage"></meeting>
  </view>
</template>
<script setup lang="ts">
const option = ref({
  channel: null,
  role: null,
  page: null,
})
const show = ref(false)
onLoad((value) => {
  const { channel, role } = value
  option.value.channel = channel
  option.value.role = role
  show.value = true
})
onShow(() => {})
function getPage() {
  option.value.page = getCurrentPages()
}
</script>
